#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# @Project : chat_model 
# @File    : vector_store_base.py
# @IDE     : PyCharm 
# @Author  :ZH
# @Time    : 2025/1/10 14:34


class VectorStoreBase:

    def create_client(self, *args, **kwargs):
        raise Exception('需要实现create_client方法')

    def create_collection(self, *args, **kwargs):
        raise Exception('需要实现create_collection方法')

    def load_collection(self, *args, **kwargs):
        raise Exception('需要实现load_collection方法')

    def create_partitions(self, *args, **kwargs):
        raise Exception('需要实现create_partitions方法')

    def load_partitions(self, *args, **kwargs):
        raise Exception('需要实现load_partitions方法')

    def insert(self, *args, **kwargs):
        raise Exception('需要实现insert方法')

    def search(self, *args, **kwargs):
        raise Exception('需要实现search方法')

    def query(self, *args, **kwargs):
        raise Exception('需要实现query方法')

    def delete(self, *args, **kwargs):
        raise Exception('需要实现delete方法')

    def collection_release(self, *args, **kwargs):
        raise Exception('需要实现collection_release方法')

    def partition_release(self, *args, **kwargs):
        raise Exception('需要实现partition_release方法')

    def drop_collection(self, *args, **kwargs):
        raise Exception('需要实现drop_collection方法')

    def drop_partition(self, *args, **kwargs):
        raise Exception('需要实现drop_partition方法')

    def close(self, *args, **kwargs):
        raise Exception('需要实现close方法')

    def search_dict(self, *args, **kwargs):
        raise Exception("搜索结果转字典数据")

